package cn.tedu.submarine;
import javax.swing.*;
import  java.util.Random;

//侦察潜艇
public class ObserveSubmarine  extends SeaObject implements EnemyScore{

    /* 构造方法*/
    public ObserveSubmarine(){
    super(63,19);


}
/*重写step()移动*/
  public void step() {
        x+=speed; //x+(向右)

    }
    public ImageIcon getImage(){
        return Images.obsersubm;//返回侦察潜艇图片
    }

    public int getScore(){
      return 10;//打掉侦察潜艇，玩家得10分
    }
}
